<?= $this->Form->create('User', array('url'=>'/login', 'class'=>'box')) ?>
	<?= $this->Html->image('logo-h70.png') ?>
	<?= $this->Form->text('username', array('placeholder'=>"Korisničko ime:")) ?>
	
	<?= $this->Form->password('password', array('placeholder'=>"Lozinka:")) ?>

	<?= $this->Form->submit('Prijavite se', array('div'=>false))?>
<?= $this->Form->end() ?>

<script type="text/javascript">
$(function(){
	$('#UserUsername')
		.focus()
		.select();
})
</script>
